package jmine.tec.web.servlet.cipher;

import jmine.tec.utils.io.http.Connector;

/**
 * Connector que implementa a comunicacao segura
 * 
 * @author takeshi
 */
public interface SecureCommunicationProtocol extends Connector {
    int STARTED = 0;

    int NEGOTIATING = 1;

    int STABILISHED = 2;

    int INITIALIZATION_NEEDED = 418;

    String KEY_PATH_PARAMETER_NAME = "keyPath";

    String INITIALIZATION_PARAMETER_NAME = "initialize";

    String HTTP_PARAMETER_PREFFIX = "_HTTP_";
    
    /**
     * Devolve o status do canal seguro
     * 
     * @return int
     */
    int getStatus();

}
